package smartt.styy.auth.model.response;

import java.util.Date;


import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel
public class UserBaseInfoRsp{

	@JsonProperty("userId")
	@ApiModelProperty(name = "userId", value = "用户id")
	@Setter @Getter
	private String userId;
	
	@JsonProperty("userTypes")
	@ApiModelProperty(name = "userTypes", value = "用户类型  1:游客，2：导游，3：旅行社，4,：游企（景区，酒店），5：政府")
	@Setter @Getter
	private String userTypes;

	@JsonProperty("ethnic")
	@ApiModelProperty(name = "ethnic", value = "民族")
	@Setter @Getter
	private String ethnic;
	
	/**
     * 登录用户名
     */
	@JsonProperty("username")
	@ApiModelProperty(name = "username", value = "登录用户名")
	@Setter @Getter
	private String username;

    /**
     * 用户昵称
     */
	@JsonProperty("nickName")
	@ApiModelProperty(name = "nickName", value = "用户昵称")
	@Setter @Getter
	private String nickName;


	@JsonProperty("parentId")
	@ApiModelProperty(name = "parentId", value = "父id")
	@Setter @Getter
	private String parentId;
    
    /**
     * 身份证号
     */
	@JsonProperty("idCard")
	@ApiModelProperty(name = "idCard", value = "身份证号")
	@Setter @Getter
	private String idCard;

    /**
     * 电话号码
     */
	@JsonProperty("telPhone")
	@ApiModelProperty(name = "telPhone", value = "电话号码")
	@Setter @Getter
	private String telPhone;

    /**
     * 证件照（正）
     */
	@JsonProperty("idPhoto")
	@ApiModelProperty(name = "idPhoto", value = "证件照（正）")
	@Setter @Getter
	private String idPhoto;

    /**
     * 年龄
     */
	@JsonProperty("age")
	@ApiModelProperty(name = "age", value = "年龄")
	@Setter @Getter
	private String age;

    /**
     * 性别（0：男，1：女）
     */
	@JsonProperty("sex")
	@ApiModelProperty(name = "sex", value = "性别（0：男，1：女）")
    private Integer sex;

    /**
     * 地址
     */
	@JsonProperty("address")
	@ApiModelProperty(name = "address", value = "地址")
	@Setter @Getter
	private String address;

    /**
     * 头像
     */
	@JsonProperty("headPhoto")
	@ApiModelProperty(name = "headPhoto", value = "头像")
	@Setter @Getter
	private String headPhoto;

    /**
     * 证件照（反）
     */
	@JsonProperty("idPhotoBack")
	@ApiModelProperty(name = "idPhotoBack", value = "证件照（反）")
	@Setter @Getter
	private String idPhotoBack;

    /**
     * 创建时间
     */
	@JsonProperty("createAt")
	@ApiModelProperty(name = "createAt", value = "创建时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@Setter @Getter
	private Date createAt;

    /**
     * 更新时间
     */
	@JsonProperty("updateAt")
	@ApiModelProperty(name = "updateAt", value = "更新时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@Setter @Getter
	private Date updateAt;


    /**
     * 0:不可用，1：可用
     */
	@JsonProperty("status")
	@ApiModelProperty(name = "status", value = "0:不可用，1：可用")
	@Setter @Getter
	private Integer status;

    /**
     * 简介
     */
	@JsonProperty("introduce")
	@ApiModelProperty(name = "introduce", value = "0:不可用，1：可用")
	@Setter @Getter
	private String introduce;
	
	
}
